﻿@model MvcSiteMapProvider.Web.Html.Models.SiteMapNodeModel
@using System.Web.Mvc.Html
@using MvcSiteMapProvider.Web.Html.Models
<a @if (Model.Url != "/")
   {<text>href='</text>@Model.Url<text>'</text>} class='@if (Model.IsCurrentNode)
                                                        {<text>active</text>}'>
    @if (Model.Children.Any())
    {
        <i></i>
    }
    @Model.Title</a>